<include file="Public:header" />
<script src="__ROOT__/Public/script/kindeditor/kindeditor.js"></script>

<script type="text/javascript">
//调用文本编辑器插件：	
	KE.show({
		id : 'content',
		filterMode : true,
		items : [
        'source', 'fontname', 'fontsize', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
        'removeformat', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
        'insertunorderedlist', 'link']
});


</script>


<body>	
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1" onsubmit="">
  <table  border="1">
    <tr>
      <td width="90"  height="41"><div align="right">产品型号：</div></td>
      <td width="645"><label>
        <input type="text" name="pattern" id="pattern" value="{$product.pattern}"/>
      </label></td>
    </tr>

    <tr>
      <td height="28"><div align="right">产品类别：</div></td>
      
    <td>
      
	<select name="cate_tree" id="cate_tree">
      
	    <volist name='cate_list' id='one'>
	      <option  value="{$one.cid}"  <if condition="$one.cid eq $product['cid']"> selected='selected'</if> >
	      {$one.cname}</option>
	    </volist>
	</select>		


      </td>
   </tr>
   <tr>
	  <td>产品图片:
	  </td>

	  <td>
	    <input type="file" value="" name="pic">
	  </td>
   </tr>

   <tr>
	  <td>产品样本:
	  </td>

	  <td>
	    <input type="file" value="" name="sample">
	  </td>
   </tr>

    <tr>
      <td height="99"><div align="right">产品介绍：</div></td>
      <td>
        <textarea name="content" id="content" style="width:600px; height:400px">{$product.content}</textarea>
      </td>
    </tr>
    <tr>
      <td height="28" colspan="2"><label>
        <input type="submit" name="product_bt" value="提交" />
        <input type="hidden" name="pid" value="{$article.pid}"/>
      </label></td>
    </tr>
  </table>
</form>
<a href="__APP__/Product">返回</a>
<include file="Public:footer" />
